Skip to main content

DrawSHXTextBox

Unit: SHX.pas

Description

Returns the set of TsgSHXVertex basing on specified in the Text or WideText SHX Font text string with predefined by the ASHXStyles, Vertical, Backward properties.

ParametersDescription
ASHXStylesThe instance of the TsgSHXFontList object
FontThe name of the SHX Font
TextThe object of the sgRawByteString type
WideTextThe wide text string
CodePageThe code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009.
Vertical, BackwardThe text font format properties: Vertical text has a vertical orientation; Backward text is rotated around X
PolyThe list of the SHX Font text string
AboveThe above value of the SHX Font defined in Font
BelowThe below value of the SHX Font defined in Font
Left, Bottom, Right, TopThe rectangle of the SHX Font text string

Returns:

ValueDescription
Above, BelowThe above and below parameters of the SHX Font defined in Font
Width, HeightThe Width and Height parameters of the SHX Font defined in Font
RealLeft, RealBottom, RealRight, RealTopThe real border rectangle of the SHX Font text string

Syntax

procedure DrawSHXText(ASHXStyles: TsgSHXFontlist; const Font: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Vertical, Backward: Boolean; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);